const api = require('../index')

module.exports = {
    add: (article_id) => {
      return api.post('/praise/add', { article_id })
    },
		delete: (article_id) => {
			return api.post('/praise/delete', { article_id })
		},
		list: (article_id, max_id, size) => {
			return api.post('/praise/list', { article_id, max_id, size})
		}
}